/**
 * &copy; 2006 NewInstance.it
 */
package it.newinstance.jrainbow.parser.xml;

import it.newinstance.jrainbow.parser.ParserBase;
import it.newinstance.jrainbow.parser.StateMachine;
import it.newinstance.jrainbow.source.TaggedSource;

/**
 * @author Luigi R. Viggiano
 * @version $Id: XMLParser.java 138 2007-06-12 12:23:29Z luigi.viggiano $
 */
public class XMLParser extends ParserBase {
    
    public void parse(TaggedSource source) {
        source.startParse();
        StateMachine.Runner.run(XMLStateMachine.CONTENT, source);
        source.endParse();        
    }

    public String getLanguageName() {
        return "XML/HTML";
    }    
}
